package com.java2207.group1.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 15319 2022/7/27 14:51
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OccupancyBo {
    @ExcelProperty(value = "编号")
    private Integer id;
    @ExcelProperty(value = "名字")
    private String name;

    @ExcelProperty(value = "年龄")
    private String age;

    @ExcelProperty(value = "性别")
    private String sex;

    @ExcelProperty(value = "监护人")
    private String guardian;

    @ExcelProperty(value = "监护人手机号")
    private String phone;

    @ExcelProperty(value = "健康状态")
    private String health;

    @ExcelProperty(value = "入院时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date annihdate;

    @ExcelProperty(value = "缴费金额")
    private String deposit;
}
